package com.gxa.service;

import com.gxa.pojo.Alarm;
import com.gxa.pojo.AlarmVO;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface AlarmService {

    List<Alarm> showAlarm(AlarmVO alarmVO);

    int getCount();

    List<Alarm> selectByCondition(AlarmVO alarmVO);

    Boolean addAlarm(Alarm alarm);

    Boolean deleteByAlarmRulesName(String alarmRulesName);

}
